import { recordApiURL } from '@/service/config'
import { get } from '@/service/base'

export function getTopList() {
  return get(`${recordApiURL}/getTopList`)
}

export function getTopDetail(top) {
  return get(`${recordApiURL}/getTopDetail`, {
    id: top.id,
    period: top.period
  })
}
